MCP Server for HashiCorp Vault secret management

Created By
ashgwa year ago
Vault secret management, policy creation, and resource listing
Overview

What is MCP Server for HashiCorp Vault?

MCP Server for HashiCorp Vault is a Model Context Protocol (MCP) server implementation that provides a secure interface to HashiCorp Vault, enabling LLMs and other MCP clients to interact with Vault's secret and policy management features.

How to use MCP Server?

To use the MCP Server, you can run it via Docker or integrate it with Cursor MCP configuration. You need to set environment variables for your Vault server address and token.

Key features of MCP Server?

  • Secure secret management through a structured API
  • Policy creation and management
  • Resource discovery and listing
  • Automated policy generation

Use cases of MCP Server?

  1. Managing application secrets securely.
  2. Creating and managing access policies for different applications.
  3. Automating the generation of Vault policies based on user-defined parameters.

FAQ from MCP Server?

  • Can I run MCP Server without Docker?

Yes, you can clone the repository and build it manually.

  • What environment variables are required?

You need to set VAULT_ADDR and VAULT_TOKEN to run the server.

  • Is there a way to list all available secrets?

Yes, you can use the vault://secrets resource to list all available secret paths.

Server Config

{
  "mcpServers": {
    "Vault MCP": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "VAULT_ADDR=https://your-vault-server:8200",
        "-e",
        "VAULT_TOKEN=hvs.your-vault-token",
        "ashgw/vault-mcp:latest"
      ]
    }
  }
}
Project Info
Created At
a year ago
Updated At
a year ago
Author Name
ashgw
Star
-
Language
-
License
-

Recommend Servers

View All